<script setup lang="ts">
import { onMounted, computed } from 'vue'
import useUserStore from '@/store/modules/user.ts'

const userStore = useUserStore()
onMounted(() => {
  userStore.login({ 'phone': '18601445384', 'pwd': '123456' })
})

const token = computed(() => {
  return userStore.getToken
})
</script>

<template>
  登录页面 {{ token }}
</template>

<style scoped>

</style>
